package com.km.team.phsystem.beans.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class SystemDateExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SystemDateExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDayShortDescIsNull() {
            addCriterion("DAY_SHORT_DESC is null");
            return (Criteria) this;
        }

        public Criteria andDayShortDescIsNotNull() {
            addCriterion("DAY_SHORT_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andDayShortDescEqualTo(Date value) {
            addCriterionForJDBCDate("DAY_SHORT_DESC =", value, "dayShortDesc");
            return (Criteria) this;
        }

        public Criteria andDayShortDescNotEqualTo(Date value) {
            addCriterionForJDBCDate("DAY_SHORT_DESC <>", value, "dayShortDesc");
            return (Criteria) this;
        }

        public Criteria andDayShortDescGreaterThan(Date value) {
            addCriterionForJDBCDate("DAY_SHORT_DESC >", value, "dayShortDesc");
            return (Criteria) this;
        }

        public Criteria andDayShortDescGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DAY_SHORT_DESC >=", value, "dayShortDesc");
            return (Criteria) this;
        }

        public Criteria andDayShortDescLessThan(Date value) {
            addCriterionForJDBCDate("DAY_SHORT_DESC <", value, "dayShortDesc");
            return (Criteria) this;
        }

        public Criteria andDayShortDescLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("DAY_SHORT_DESC <=", value, "dayShortDesc");
            return (Criteria) this;
        }

        public Criteria andDayShortDescIn(List<Date> values) {
            addCriterionForJDBCDate("DAY_SHORT_DESC in", values, "dayShortDesc");
            return (Criteria) this;
        }

        public Criteria andDayShortDescNotIn(List<Date> values) {
            addCriterionForJDBCDate("DAY_SHORT_DESC not in", values, "dayShortDesc");
            return (Criteria) this;
        }

        public Criteria andDayShortDescBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DAY_SHORT_DESC between", value1, value2, "dayShortDesc");
            return (Criteria) this;
        }

        public Criteria andDayShortDescNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("DAY_SHORT_DESC not between", value1, value2, "dayShortDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescIsNull() {
            addCriterion("DAY_LONG_DESC is null");
            return (Criteria) this;
        }

        public Criteria andDayLongDescIsNotNull() {
            addCriterion("DAY_LONG_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andDayLongDescEqualTo(String value) {
            addCriterion("DAY_LONG_DESC =", value, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescNotEqualTo(String value) {
            addCriterion("DAY_LONG_DESC <>", value, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescGreaterThan(String value) {
            addCriterion("DAY_LONG_DESC >", value, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescGreaterThanOrEqualTo(String value) {
            addCriterion("DAY_LONG_DESC >=", value, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescLessThan(String value) {
            addCriterion("DAY_LONG_DESC <", value, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescLessThanOrEqualTo(String value) {
            addCriterion("DAY_LONG_DESC <=", value, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescLike(String value) {
            addCriterion("DAY_LONG_DESC like", value, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescNotLike(String value) {
            addCriterion("DAY_LONG_DESC not like", value, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescIn(List<String> values) {
            addCriterion("DAY_LONG_DESC in", values, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescNotIn(List<String> values) {
            addCriterion("DAY_LONG_DESC not in", values, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescBetween(String value1, String value2) {
            addCriterion("DAY_LONG_DESC between", value1, value2, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andDayLongDescNotBetween(String value1, String value2) {
            addCriterion("DAY_LONG_DESC not between", value1, value2, "dayLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescIsNull() {
            addCriterion("WEEK_DESC is null");
            return (Criteria) this;
        }

        public Criteria andWeekDescIsNotNull() {
            addCriterion("WEEK_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andWeekDescEqualTo(String value) {
            addCriterion("WEEK_DESC =", value, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescNotEqualTo(String value) {
            addCriterion("WEEK_DESC <>", value, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescGreaterThan(String value) {
            addCriterion("WEEK_DESC >", value, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescGreaterThanOrEqualTo(String value) {
            addCriterion("WEEK_DESC >=", value, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescLessThan(String value) {
            addCriterion("WEEK_DESC <", value, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescLessThanOrEqualTo(String value) {
            addCriterion("WEEK_DESC <=", value, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescLike(String value) {
            addCriterion("WEEK_DESC like", value, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescNotLike(String value) {
            addCriterion("WEEK_DESC not like", value, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescIn(List<String> values) {
            addCriterion("WEEK_DESC in", values, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescNotIn(List<String> values) {
            addCriterion("WEEK_DESC not in", values, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescBetween(String value1, String value2) {
            addCriterion("WEEK_DESC between", value1, value2, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekDescNotBetween(String value1, String value2) {
            addCriterion("WEEK_DESC not between", value1, value2, "weekDesc");
            return (Criteria) this;
        }

        public Criteria andWeekIdIsNull() {
            addCriterion("WEEK_ID is null");
            return (Criteria) this;
        }

        public Criteria andWeekIdIsNotNull() {
            addCriterion("WEEK_ID is not null");
            return (Criteria) this;
        }

        public Criteria andWeekIdEqualTo(String value) {
            addCriterion("WEEK_ID =", value, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekIdNotEqualTo(String value) {
            addCriterion("WEEK_ID <>", value, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekIdGreaterThan(String value) {
            addCriterion("WEEK_ID >", value, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekIdGreaterThanOrEqualTo(String value) {
            addCriterion("WEEK_ID >=", value, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekIdLessThan(String value) {
            addCriterion("WEEK_ID <", value, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekIdLessThanOrEqualTo(String value) {
            addCriterion("WEEK_ID <=", value, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekIdLike(String value) {
            addCriterion("WEEK_ID like", value, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekIdNotLike(String value) {
            addCriterion("WEEK_ID not like", value, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekIdIn(List<String> values) {
            addCriterion("WEEK_ID in", values, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekIdNotIn(List<String> values) {
            addCriterion("WEEK_ID not in", values, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekIdBetween(String value1, String value2) {
            addCriterion("WEEK_ID between", value1, value2, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekIdNotBetween(String value1, String value2) {
            addCriterion("WEEK_ID not between", value1, value2, "weekId");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescIsNull() {
            addCriterion("WEEK_LONG_DESC is null");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescIsNotNull() {
            addCriterion("WEEK_LONG_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescEqualTo(String value) {
            addCriterion("WEEK_LONG_DESC =", value, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescNotEqualTo(String value) {
            addCriterion("WEEK_LONG_DESC <>", value, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescGreaterThan(String value) {
            addCriterion("WEEK_LONG_DESC >", value, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescGreaterThanOrEqualTo(String value) {
            addCriterion("WEEK_LONG_DESC >=", value, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescLessThan(String value) {
            addCriterion("WEEK_LONG_DESC <", value, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescLessThanOrEqualTo(String value) {
            addCriterion("WEEK_LONG_DESC <=", value, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescLike(String value) {
            addCriterion("WEEK_LONG_DESC like", value, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescNotLike(String value) {
            addCriterion("WEEK_LONG_DESC not like", value, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescIn(List<String> values) {
            addCriterion("WEEK_LONG_DESC in", values, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescNotIn(List<String> values) {
            addCriterion("WEEK_LONG_DESC not in", values, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescBetween(String value1, String value2) {
            addCriterion("WEEK_LONG_DESC between", value1, value2, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andWeekLongDescNotBetween(String value1, String value2) {
            addCriterion("WEEK_LONG_DESC not between", value1, value2, "weekLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthIdIsNull() {
            addCriterion("MONTH_ID is null");
            return (Criteria) this;
        }

        public Criteria andMonthIdIsNotNull() {
            addCriterion("MONTH_ID is not null");
            return (Criteria) this;
        }

        public Criteria andMonthIdEqualTo(String value) {
            addCriterion("MONTH_ID =", value, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthIdNotEqualTo(String value) {
            addCriterion("MONTH_ID <>", value, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthIdGreaterThan(String value) {
            addCriterion("MONTH_ID >", value, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthIdGreaterThanOrEqualTo(String value) {
            addCriterion("MONTH_ID >=", value, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthIdLessThan(String value) {
            addCriterion("MONTH_ID <", value, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthIdLessThanOrEqualTo(String value) {
            addCriterion("MONTH_ID <=", value, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthIdLike(String value) {
            addCriterion("MONTH_ID like", value, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthIdNotLike(String value) {
            addCriterion("MONTH_ID not like", value, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthIdIn(List<String> values) {
            addCriterion("MONTH_ID in", values, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthIdNotIn(List<String> values) {
            addCriterion("MONTH_ID not in", values, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthIdBetween(String value1, String value2) {
            addCriterion("MONTH_ID between", value1, value2, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthIdNotBetween(String value1, String value2) {
            addCriterion("MONTH_ID not between", value1, value2, "monthId");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescIsNull() {
            addCriterion("MONTH_LONG_DESC is null");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescIsNotNull() {
            addCriterion("MONTH_LONG_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescEqualTo(String value) {
            addCriterion("MONTH_LONG_DESC =", value, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescNotEqualTo(String value) {
            addCriterion("MONTH_LONG_DESC <>", value, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescGreaterThan(String value) {
            addCriterion("MONTH_LONG_DESC >", value, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescGreaterThanOrEqualTo(String value) {
            addCriterion("MONTH_LONG_DESC >=", value, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescLessThan(String value) {
            addCriterion("MONTH_LONG_DESC <", value, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescLessThanOrEqualTo(String value) {
            addCriterion("MONTH_LONG_DESC <=", value, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescLike(String value) {
            addCriterion("MONTH_LONG_DESC like", value, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescNotLike(String value) {
            addCriterion("MONTH_LONG_DESC not like", value, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescIn(List<String> values) {
            addCriterion("MONTH_LONG_DESC in", values, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescNotIn(List<String> values) {
            addCriterion("MONTH_LONG_DESC not in", values, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescBetween(String value1, String value2) {
            addCriterion("MONTH_LONG_DESC between", value1, value2, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andMonthLongDescNotBetween(String value1, String value2) {
            addCriterion("MONTH_LONG_DESC not between", value1, value2, "monthLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterIdIsNull() {
            addCriterion("QUARTER_ID is null");
            return (Criteria) this;
        }

        public Criteria andQuarterIdIsNotNull() {
            addCriterion("QUARTER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andQuarterIdEqualTo(String value) {
            addCriterion("QUARTER_ID =", value, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterIdNotEqualTo(String value) {
            addCriterion("QUARTER_ID <>", value, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterIdGreaterThan(String value) {
            addCriterion("QUARTER_ID >", value, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterIdGreaterThanOrEqualTo(String value) {
            addCriterion("QUARTER_ID >=", value, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterIdLessThan(String value) {
            addCriterion("QUARTER_ID <", value, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterIdLessThanOrEqualTo(String value) {
            addCriterion("QUARTER_ID <=", value, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterIdLike(String value) {
            addCriterion("QUARTER_ID like", value, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterIdNotLike(String value) {
            addCriterion("QUARTER_ID not like", value, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterIdIn(List<String> values) {
            addCriterion("QUARTER_ID in", values, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterIdNotIn(List<String> values) {
            addCriterion("QUARTER_ID not in", values, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterIdBetween(String value1, String value2) {
            addCriterion("QUARTER_ID between", value1, value2, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterIdNotBetween(String value1, String value2) {
            addCriterion("QUARTER_ID not between", value1, value2, "quarterId");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescIsNull() {
            addCriterion("QUARTER_LONG_DESC is null");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescIsNotNull() {
            addCriterion("QUARTER_LONG_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescEqualTo(String value) {
            addCriterion("QUARTER_LONG_DESC =", value, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescNotEqualTo(String value) {
            addCriterion("QUARTER_LONG_DESC <>", value, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescGreaterThan(String value) {
            addCriterion("QUARTER_LONG_DESC >", value, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescGreaterThanOrEqualTo(String value) {
            addCriterion("QUARTER_LONG_DESC >=", value, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescLessThan(String value) {
            addCriterion("QUARTER_LONG_DESC <", value, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescLessThanOrEqualTo(String value) {
            addCriterion("QUARTER_LONG_DESC <=", value, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescLike(String value) {
            addCriterion("QUARTER_LONG_DESC like", value, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescNotLike(String value) {
            addCriterion("QUARTER_LONG_DESC not like", value, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescIn(List<String> values) {
            addCriterion("QUARTER_LONG_DESC in", values, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescNotIn(List<String> values) {
            addCriterion("QUARTER_LONG_DESC not in", values, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescBetween(String value1, String value2) {
            addCriterion("QUARTER_LONG_DESC between", value1, value2, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andQuarterLongDescNotBetween(String value1, String value2) {
            addCriterion("QUARTER_LONG_DESC not between", value1, value2, "quarterLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearIdIsNull() {
            addCriterion("YEAR_ID is null");
            return (Criteria) this;
        }

        public Criteria andYearIdIsNotNull() {
            addCriterion("YEAR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andYearIdEqualTo(String value) {
            addCriterion("YEAR_ID =", value, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearIdNotEqualTo(String value) {
            addCriterion("YEAR_ID <>", value, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearIdGreaterThan(String value) {
            addCriterion("YEAR_ID >", value, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearIdGreaterThanOrEqualTo(String value) {
            addCriterion("YEAR_ID >=", value, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearIdLessThan(String value) {
            addCriterion("YEAR_ID <", value, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearIdLessThanOrEqualTo(String value) {
            addCriterion("YEAR_ID <=", value, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearIdLike(String value) {
            addCriterion("YEAR_ID like", value, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearIdNotLike(String value) {
            addCriterion("YEAR_ID not like", value, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearIdIn(List<String> values) {
            addCriterion("YEAR_ID in", values, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearIdNotIn(List<String> values) {
            addCriterion("YEAR_ID not in", values, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearIdBetween(String value1, String value2) {
            addCriterion("YEAR_ID between", value1, value2, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearIdNotBetween(String value1, String value2) {
            addCriterion("YEAR_ID not between", value1, value2, "yearId");
            return (Criteria) this;
        }

        public Criteria andYearLongDescIsNull() {
            addCriterion("YEAR_LONG_DESC is null");
            return (Criteria) this;
        }

        public Criteria andYearLongDescIsNotNull() {
            addCriterion("YEAR_LONG_DESC is not null");
            return (Criteria) this;
        }

        public Criteria andYearLongDescEqualTo(String value) {
            addCriterion("YEAR_LONG_DESC =", value, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearLongDescNotEqualTo(String value) {
            addCriterion("YEAR_LONG_DESC <>", value, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearLongDescGreaterThan(String value) {
            addCriterion("YEAR_LONG_DESC >", value, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearLongDescGreaterThanOrEqualTo(String value) {
            addCriterion("YEAR_LONG_DESC >=", value, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearLongDescLessThan(String value) {
            addCriterion("YEAR_LONG_DESC <", value, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearLongDescLessThanOrEqualTo(String value) {
            addCriterion("YEAR_LONG_DESC <=", value, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearLongDescLike(String value) {
            addCriterion("YEAR_LONG_DESC like", value, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearLongDescNotLike(String value) {
            addCriterion("YEAR_LONG_DESC not like", value, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearLongDescIn(List<String> values) {
            addCriterion("YEAR_LONG_DESC in", values, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearLongDescNotIn(List<String> values) {
            addCriterion("YEAR_LONG_DESC not in", values, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearLongDescBetween(String value1, String value2) {
            addCriterion("YEAR_LONG_DESC between", value1, value2, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andYearLongDescNotBetween(String value1, String value2) {
            addCriterion("YEAR_LONG_DESC not between", value1, value2, "yearLongDesc");
            return (Criteria) this;
        }

        public Criteria andDateTypeIsNull() {
            addCriterion("DATE_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andDateTypeIsNotNull() {
            addCriterion("DATE_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andDateTypeEqualTo(String value) {
            addCriterion("DATE_TYPE =", value, "dateType");
            return (Criteria) this;
        }

        public Criteria andDateTypeNotEqualTo(String value) {
            addCriterion("DATE_TYPE <>", value, "dateType");
            return (Criteria) this;
        }

        public Criteria andDateTypeGreaterThan(String value) {
            addCriterion("DATE_TYPE >", value, "dateType");
            return (Criteria) this;
        }

        public Criteria andDateTypeGreaterThanOrEqualTo(String value) {
            addCriterion("DATE_TYPE >=", value, "dateType");
            return (Criteria) this;
        }

        public Criteria andDateTypeLessThan(String value) {
            addCriterion("DATE_TYPE <", value, "dateType");
            return (Criteria) this;
        }

        public Criteria andDateTypeLessThanOrEqualTo(String value) {
            addCriterion("DATE_TYPE <=", value, "dateType");
            return (Criteria) this;
        }

        public Criteria andDateTypeLike(String value) {
            addCriterion("DATE_TYPE like", value, "dateType");
            return (Criteria) this;
        }

        public Criteria andDateTypeNotLike(String value) {
            addCriterion("DATE_TYPE not like", value, "dateType");
            return (Criteria) this;
        }

        public Criteria andDateTypeIn(List<String> values) {
            addCriterion("DATE_TYPE in", values, "dateType");
            return (Criteria) this;
        }

        public Criteria andDateTypeNotIn(List<String> values) {
            addCriterion("DATE_TYPE not in", values, "dateType");
            return (Criteria) this;
        }

        public Criteria andDateTypeBetween(String value1, String value2) {
            addCriterion("DATE_TYPE between", value1, value2, "dateType");
            return (Criteria) this;
        }

        public Criteria andDateTypeNotBetween(String value1, String value2) {
            addCriterion("DATE_TYPE not between", value1, value2, "dateType");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}